import Request from '@/libs/fetch';

function createService() {
    const defaultConfig = {
        baseURL: '/resources/V1.0',
        timeout: Number(process.env.TIME_OUT || 1000 * 60),
    };
    const request = new Request(defaultConfig);

    return request;
}

export default createService();
